using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartLink.RedisRepository
{
    /// <summary>
    /// redis key 为  前缀+ 表主键
    /// </summary>
    public class RedisKeyPre
    {

        public const string RoleToUsers = "RoleToUsers_RoleId_";

        /// <summary>
        /// 用户功能权限前缀
        /// </summary>
        public const string UserActionPermission = "UserActionPermission_UserId_";

        /// <summary>
        /// 角色数据权限前缀
        /// </summary>
        public const string RoleDataPermission = "RoleDataPermission_RoleId_";

        /// <summary>
        /// 用户当前菜单权限list<sys_menu>前缀
        /// </summary>
        public const string UserMenus = "UserMenus_UserId_";

        /// <summary>
        /// 用户数据权限(部门)
        /// </summary>
        public const string UserDatas = "UserDatas_UserId_";

        /// <summary>
        /// 用户Token
        /// </summary>
        public const string UserToken = "UserToken_";

        /// <summary>
        /// 禁用的公司
        /// </summary>
        public const string DisabledCompanys = "DisabledCompanys";


        public const string Dictonary = "Dictonary";

        /// <summary>
        /// 产品类型
        /// </summary>
        public const string ProductType = "ProductType";


        public const string ValidateCode = "ValidateCode";
    }
}
